<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="renderer" content="webkit">
	<meta name="robots" content="noindex,nofollow,noarchive" />
	<title>发表_{{ config.SITE_NAME }}</title>
	{{ bootstrap.load_css() }}
	<link rel="stylesheet" type="text/css"
		href="{{ url_for('home.static', filename='default/css/jquery-ui.min.css') }}">
	<link rel="stylesheet" type="text/css"
		href="{{ url_for('home.static', filename='default/css/idangerous.swiper.css') }}">
	<link rel="stylesheet" type="text/css" href="{{ url_for('home.static', filename='default/css/style.css') }}"
		media="all" />
	<script type="text/javascript" src="{{ url_for('home.static', filename='default/js/jquery.min.js') }}"></script>
	<script type="text/javascript" src="{{ url_for('home.static', filename='default/js/xdr.js') }}"></script>
	<script type="text/javascript" src="{{ url_for('home.static', filename='default/js/script.js') }}"></script>
	<script type="text/javascript" src="{{ url_for('home.static', filename='default/js/jquery-ui.min.js') }}"></script>
	<script type="text/javascript"
		src="{{ url_for('home.static', filename='default/js/idangerous.swiper.js') }}"></script>
	<script type="text/javascript"
		src="{{ url_for('home.static', filename='default/js/header_hxdsb_hxdsb.js') }}"></script>
		
</head>

<body>
	<div class="header-wrap">
		<div class="clearfix header">
			<div class="logo">
				<a href="/" target="_self">
					<img src="{{ url_for('home.static', filename='default/logo.png') }}">
				</a>
			</div>
			<div class="nav" style="display:block">
				<ul>
					{% for i in menus %}
					<li style="box-sizing: content-box;"><a href="{{ i.url }}">{{ i.title }}</a></li>
					{% endfor %}
				</ul>
			</div>
		</div>
	</div>
	<div class="content-wrap">
		<style>
			.ck-content {
				min-height: 390px;
			}
		</style>
		{% from 'bootstrap/utils.html' import render_messages %}
		{% from 'bootstrap/form.html' import render_form %}
		<div class="container">
			{{ render_messages() }}
			<div class="card" >
				<div class="card-body">
					{{ render_form(form) }}
				</div>
			  </div>
		</div>
	</div>
	<div class="footer-wrap">
		<div class="footer">
            <div class="footer-info">
				Copyright© 1996-2026 健康报社 版权所有 不得复制或建立镜像 <br />
				互联网新闻信息服务许可证1012006037 | 京公网安备11010102001488号 | 卫网核总第18号
			</div>
		</div>
	</div>
</body>
{{ bootstrap.load_js() }}
<script src="{{ url_for('home.static', filename='ckeditor/fun/ckeditor.js') }}"></script>
<script>
ClassicEditor.create(
    document.querySelector('#content'),
    {
        toolbar: {
            items: [
                'undo',
                'redo',

                '|',
                'bold',
                'italic',
                'link',
                'alignment',
                'bulletedList',
                'numberedList',
                '|',
                'blockQuote',
                'insertTable',
                'mediaEmbed',
                '|',
                'removeFormat',
                'heading'
            ]
        },
        language: 'zh-cn',
        image: {
            toolbar: [
                'imageTextAlternative',
                'imageStyle:full',
                'imageStyle:side'
            ],
            types: ['jpeg']
        },
        table: {
            contentToolbar: [
                'tableColumn',
                'tableRow',
                'mergeTableCells'
            ]
        }
    }
).then(
    editor => {
        window.editor = editor;
    }
).catch(
    error => {
        console.error( 'Oops, something gone wrong!' );
        console.error( 'Please, report the following error in the https://github.com/ckeditor/ckeditor5 with the build id and the error stack trace:' );
        console.warn( 'Build id: gwapzoedv1p0-hdd9bmuc5d3s' );
        console.error( error );
    }
);
</script>
</body>
</html>